package net.zhengxinyun.performance.service.leaders;

import net.zhengxinyun.performance.entity.LeadersEntity;
import net.zhengxinyun.performance.mapper.leader.LeaderMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class LeaderServiceimpl implements  LeaderService {

    @Autowired
    private LeaderMapper mapper;

    @Override
    public List<LeadersEntity> queryAll(LeadersEntity entity) {
        return mapper.queryAll(entity);
    }
}
